package com.ksd.pug.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexController {

    @Value("${ksd.name}")
    private String name;

    @GetMapping(value = {"/","/index"})
    public String index(){
        return "Hello,Jenkins!!!" + name+"哈哈哈哈哈哈";
    }

}
